package com.zsl.picture.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.zsl.picture.model.Messages;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zsl
 * @date 2022/3/4
 * @email 154777150@qq.com
 */
public class photoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @JsonProperty(value = "pValue")
    @ApiModelProperty(value = "图片")
    private String pValue;

    @JsonProperty(value = "pRemark")
    @ApiModelProperty(value = "备注")
    private String pRemark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /*
    留言数
     */
    private int messagesNumber;
}
